package cn.broadsense.biz.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author lijian
 * @description 数据点位管理
 * @date 2024年09月23日 下午12:27
 */
@TableName(value ="t_channel_data")
@Data
public class ChannelData implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("设备名称")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String deviceName;

    @ApiModelProperty("监控点编号")
    private String channelCode;

    @ApiModelProperty("设备像素")
    private String pixel;

    @ApiModelProperty("设备所属系统")
    private String deptName;

    @ApiModelProperty("设备ip")
    private String ipAddress;

    @ApiModelProperty("杆件编码")
    private String columnCode;

    @ApiModelProperty("经纬度")
    private String deviceGps;

    @ApiModelProperty("安装地址")
    private String installAddress;

    @ApiModelProperty("监控方向")
    private String monitorDirection;

    @ApiModelProperty("监控视角区域")
    private String monitorViewingArea;

    @ApiModelProperty("监控视距")
    private BigDecimal monitorDistance;

    @ApiModelProperty("设备高度")
    private BigDecimal deviceMonitorHigh;

    @ApiModelProperty("高低点位")
    private String highAndLowPoint;

    @ApiModelProperty("采集数据同步时间")
    private Date syncTime;

    @ApiModelProperty("治理时间")
    private Date governTime;

    @ApiModelProperty("治理人")
    private String governBy;

    @ApiModelProperty("治理状态 1是 0否")
    private Integer governStatus;

    @ApiModelProperty("点位ID")

    @JsonSerialize(using = ToStringSerializer.class)
    private Long channelId;


}
